package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 内存日志表
 * </p>
 *
 * @author chenhc
 * @since 2025-03-28
 */
@Data
@TableName("mempools_log")
@ApiModel("内存使用日志")
public class MempoolsLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

    /**
     * 插入时间
     */
    private LocalDateTime inserted;

    private Integer mempoolId;

    private String mempoolIndex;

    private Integer entPhysicalIndex;

    private String mempoolType;

    private String mempoolClass;

    private Integer mempoolPrecision;

    private String mempoolDescr;

    private Integer deviceId;

    private Integer mempoolPerc;

    private String mempoolPercOid;

    private Long mempoolUsed;

    private String mempoolUsedOid;

    private Long mempoolFree;

    private String mempoolFreeOid;

    private Long mempoolTotal;

    private String mempoolTotalOid;

    private Long mempoolLargestfree;

    private Long mempoolLowestfree;

    private Boolean mempoolDeleted;

    private Integer mempoolPercWarn;
}
